@mixin dryrun {
  .dryrun::v-deep {
    .el-dialog .el-dialog__body {
      padding: 10px;
    }

    .el-form-item__content {
      line-height: 0;
    }

    .object-table-select .el-select-dropdown {
      display: none;
    }

    .el-select  > .el-select-dropdown > .el-select-dropdown__empty {
      line-height: 1;
    }

    .el-form-item {
      margin-top: 0px;
    }

    .input-group {
      width: 100%;
      line-height: normal;
      display: inline-table;

      &>.el-form-item {
        vertical-align: middle;
        display: table-cell;
      }

      .input-group-right {
        vertical-align: middle;
        display: table-cell;
      }

      .el-input.is-disabled .el-input__inner {
        cursor: pointer;
      }

      .el-select.parameter-selector {
        .el-input {
          width: 200px;
          text-align: left;
        }
        .el-input__inner {
          width: 100%;
          text-overflow: ellipsis;
        }
      }

      .el-cascader {
        line-height: 20px;

        .el-input__inner {
          height: 30px;
          border: none;
          width: 199px;

        }

        .el-input--suffix.is-focus {
          .el-input__suffix {
            top: 4px;
          }
        }

        .el-input__suffix {
          top: -3px;
        }
      }

      .el-input__inner {
        width: 350px;
        vertical-align: middle;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;

        &:focus {
          box-shadow: none;
        }
      }
    }

    .el-select-group {
      height: 30px;
      background-color: #ffffff;
      color: #909399;
      vertical-align: middle;
      display: table-cell;
      position: relative;
      border: 1px solid #dcdfe6;
      border-right: 0;
      border-radius: 4px;
      padding: 0 20px;
      width: 1px;
      white-space: nowrap;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;

      &--disabled {
        background: #F5F7FA;
      }

      .el-dropdown {
        .el-button {
          border: 0;

          &:hover,
          &:focus {
            background-color: transparent;
            color: #606266;
          }
        }

      }

      &.boolean {
        border-right: 1px solid #dcdfe6;
      }

      &>.el-form-item {
        display: inline-block;
        margin-bottom: 0;
      }

      .el-form-item__error {
        padding-top: 12px;
      }

      .el-cascader {
        &+.el-form-item__error {
          padding-top: 4px;
        }
      }

      .el-select {
        margin: -10px 0;
      }

      .el-select .el-input {
        width: 140px;
      }

      .el-select .el-input__inner {
        border-color: transparent;
        background-color: transparent;
        color: inherit;
        border-top: 0;
        border-bottom: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
      }
    }

    .dryrun-condition {

      .el-input-group__append .el-button,
      .el-input-group__append .el-select,
      .el-input-group__prepend .el-button,
      .el-input-group__prepend .el-select {
        margin: -10px 0;
      }
    }

    .input-with-select {
      .el-input {
        width: 140px;
      }

      .el-input__inner:focus {
        box-shadow: none;
      }

      .el-input-group__prepend,
      .el-input-group__append {
        background-color: #ffffff;
      }
    }
  }

  .icon-btn {
    right: 10px;
    bottom: 10px;
    position: absolute;
    z-index: 1;
    width: 37px;
    height: 26px;
    line-height: 22px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #bcbcbc;
    cursor: pointer;
    background-color: #fff;
    overflow: hidden;

    &.icon-minus {
      background: #FCEFEF;
      color: #e63757;
      border: 1px solid #e63757;
      border-radius: 4px;
    }

    &.icon-add {
      line-height: 26px;
      background: #ECF4FE;
      color: #409eff;
      border: 1px solid #409eff;
      border-radius: 4px;
    }
  }

  .dryrun-operations {
    .icon-btn {
      bottom: 9px;
    }

    .el-col {
      height: 38px;
    }

    &::v-deep {
      .el-cascader {
        .el-input__inner {
          height: 32px;
        }
      }
    }

  }

  .operation-form {
    margin-bottom: 20px;

    .el-form-item {
      vertical-align: middle;
      // display: table-cell;
      display: inline-block;
      margin-bottom: 0;
    }

    .el-select-group {
      border: none;

    }

    .input-group {
      border: 1px solid #dcdfe6;
      width: 0;
    }

    .input-group-left {
      width: 360px;
    }

    .input-group-right::v-deep {
      .el-input__inner {
        width: 468px;
      }
    }
  }

  .dryrun-button-group {
    background: #F7F9FC;
    border-radius: 5px;
    padding: 5px;
    display: flex;

    .dryrun-header-button {
      padding: 6px 0;
      font-size: 14px;

      text-align: center;
      flex: 1;

      border-radius: 4px;

      &.active {
        font-weight: bold;
        box-shadow: 0 2px 5px 1px rgb(64 60 67 / 16%);
        background: #ffffff;
      }
    }

  }

  .dryrun-result {
    margin: 0 20px 0 30px;
    box-shadow: 0 0.375rem 0.75rem rgba(140, 152, 164, .075);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(231, 234, 243, 0.7);

    h2 {
      line-height: 15px;
      font-size: 15px;
    }

    h2.search-result {
      padding-left: 20px;
    }

    .dryrun-button__container {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 20px;
    }

    .dryrun-download {
      border-radius: 4px;
      background-color: transparent;
      padding: 5px;
      transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;

      .el-icon-download {
        font-size: 24px;
      }

      &:hover {
        color: #377dff;
        border-color: transparent;
        background-color: rgba(55, 125, 255, .1);
      }
    }

    .dryrun-dryrun-button {
      background-color: transparent;
      border-radius: 8px;
      width: 160px;
      padding: 10px;
      transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;

      &:hover {
        // color: #377dff;
        // border-color: transparent;
        // background-color: rgba(55, 125, 255, .1);
      }
    }

    .dryrun-col {
      padding: 0 12px;
      position: relative;
    }
  }
}
